#!/usr/bin/env pythonBasics
# -*-coding:utf-8-*-

#Author:super

import mysql.connector

mydb = mysql.connector.connect(
	host = '127.0.0.1',
	port = 3306,
	user = 'root',
	password = 'root',
	database = 'world'
)

mycursor = mydb.cursor()

citys = mycursor.execute('SELECT * FROM `city`')

print(citys)

mycursor.close()